package com.chuanyang.driverh.responseresult;

import java.io.Serializable;
import java.util.List;

/**
 * 西风多少恨，吹不散眉弯！—唐大帅
 * @author 唐帅
 * 待处理订单列表
 * created at  
 */

public class PendOrderData implements Serializable{
    /**
     * data : [{"capacity":15.333,"carStandard":"10m*2m*3m","orderId":125,"goodsName":["你手机上"],"orderNo":"LGN20160727093147424160","order_Amount":16,"order_status":0,"order_time":"2016-07-27 09:31:47.0","order_type":1,"phone":"15800388689","startAddr":"上海市","targetAddr":"江苏省","userId":16,"userImage":"22","username":"小明"},{"capacity":15.333,"carStandard":"10m*2m*3m","orderId":126,"goodsName":["shsh","sha"],"orderNo":"LGN20160727093555462161","order_Amount":16,"order_status":0,"order_time":"2016-07-27 09:35:55.0","order_type":1,"phone":"15800388689","startAddr":"上海市","targetAddr":"上海市","userId":16,"userImage":"22","username":"小明"},{"capacity":15.333,"carStandard":"10m*2m*3m","orderId":122,"goodsName":["卷"],"orderNo":"LGN20160725141941556601","order_Amount":200,"order_status":0,"order_time":"2016-07-25 14:19:41.0","order_type":1,"phone":"13961705302","startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"},{"capacity":15.333,"carStandard":"10m*2m*3m","orderId":123,"goodsName":["卷"],"orderNo":"LGN20160725142317856600","order_Amount":200,"order_status":0,"order_time":"2016-07-25 14:23:17.0","order_type":1,"phone":"13961705302","startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"},{"capacity":15.333,"carStandard":"10m*2m*3m","orderId":121,"goodsName":["卷"],"orderNo":"LGN20160725141859847600","order_Amount":200,"order_status":0,"order_time":"2016-07-25 14:18:59.0","order_type":1,"phone":"13961705302","startAddr":"江苏省","targetAddr":"上海市","userId":60,"userImage":"33","username":"呵呵"}]
     * total : 7
     * totalPages : 2
     */

    private int total;
    private int totalPages;
    /**
     * capacity : 15.333
     * carStandard : 10m*2m*3m
     * orderId : 125
     * goodsName : ["你手机上"]
     * orderNo : LGN20160727093147424160
     * order_Amount : 16
     * order_status : 0
     * order_time : 2016-07-27 09:31:47.0
     * order_type : 1
     * phone : 15800388689
     * startAddr : 上海市
     * targetAddr : 江苏省
     * userId : 16
     * userImage : 22
     * username : 小明
     */

    private List<DataBean> data;

    public int getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(Integer totalPages) {
        this.totalPages = totalPages;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        private Double capacity;
        private Float star;
        private String carStandard;
        private Integer orderId;
        private Integer fleetId;
        private String orderNo;
        private Double order_Amount;
        private  int type;
        private Integer order_status;
        private String order_time;
        private Integer order_type;
        private String phone;
        private String startAddr;
        private String targetAddr;
        private String order_startime;
        private String order_endtime;
        private Integer userId;
        private String userImage;
        private String username;
        private GoodsSumBean goodsSum;//{"goodsNum": 3,"goodsWeight": 26.87}   货物重量和数量
        private String demurrage;//滞期费
        private String stevedoreDay;//装卸期限
        private String loadDate;//受载日期
        private  int transPortWay;//运输类型（1车，2船）
        private  int currency;//订单外贸类型（1人民币，2美元）
        private String currencyType;//订单外贸类型中文
        private String unit;//订单外贸类型符号
        private List<String> goodsName;
        public GoodsSumBean getGoodsSum() {
            return goodsSum;
        }

        public void setGoodsSum(GoodsSumBean goodsSum) {
            this.goodsSum = goodsSum;
        }

        public Long getReceiveTime() {
            return receiveTime;
        }

        public void setReceiveTime(Long receiveTime) {
            this.receiveTime = receiveTime;
        }

        private Long receiveTime;//接收到推送的时间

        public String getAppoint() {
            return appoint;
        }

        public void setAppoint(String appoint) {
            this.appoint = appoint;
        }

        private String appoint;//推送订单可能有 也可能没有


        public Integer getOrder_status() {
            return order_status;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }




        public void setCapacity(Double capacity) {
            this.capacity = capacity;
        }


        public void setOrder_status(Integer order_status) {
            this.order_status = order_status;
        }

        public String getCarStandard() {
            return carStandard;
        }

        public void setCarStandard(String carStandard) {
            this.carStandard = carStandard;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(Integer orderId) {
            this.orderId = orderId;
        }

        public Integer getFleetId() {
            return fleetId;
        }

        public void setFleetId(Integer fleetId) {
            this.fleetId = fleetId;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public Double getOrder_Amount() {
            return order_Amount;
        }

        public void setOrder_Amount(Double order_Amount) {
            this.order_Amount = order_Amount;
        }


        public String getOrder_time() {
            return order_time;
        }

        public void setOrder_time(String order_time) {
            this.order_time = order_time;
        }

        public Integer getOrder_type() {
            return order_type;
        }

        public void setOrder_type(Integer order_type) {
            this.order_type = order_type;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getStartAddr() {
            return startAddr;
        }

        public void setStartAddr(String startAddr) {
            this.startAddr = startAddr;
        }

        public String getTargetAddr() {
            return targetAddr;
        }

        public void setTargetAddr(String targetAddr) {
            this.targetAddr = targetAddr;
        }

        public String getOrder_startime() {
            return order_startime;
        }

        public void setOrder_startime(String order_startime) {
            this.order_startime = order_startime;
        }

        public String getOrder_endtime() {
            return order_endtime;
        }

        public void setOrder_endtime(String order_endtime) {
            this.order_endtime = order_endtime;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserImage() {
            return userImage;
        }

        public void setUserImage(String userImage) {
            this.userImage = userImage;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public List<String> getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(List<String> goodsName) {
            this.goodsName = goodsName;
        }

        public Double getCapacity() {
            return capacity;
        }

        public Float getStar() {
            return star;
        }

        public void setStar(Float star) {
            this.star = star;
        }

        public String getDemurrage() {
            return demurrage;
        }

        public void setDemurrage(String demurrage) {
            this.demurrage = demurrage;
        }

        public String getStevedoreDay() {
            return stevedoreDay;
        }

        public void setStevedoreDay(String stevedoreDay) {
            this.stevedoreDay = stevedoreDay;
        }

        public String getLoadDate() {
            return loadDate;
        }

        public void setLoadDate(String loadDate) {
            this.loadDate = loadDate;
        }

        public int getTransPortWay() {
            return transPortWay;
        }

        public void setTransPortWay(int transPortWay) {
            this.transPortWay = transPortWay;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getCurrency() {
            return currency;
        }

        public void setCurrency(int currency) {
            this.currency = currency;
        }

        public String getCurrencyType() {
            return currencyType;
        }

        public void setCurrencyType(String currencyType) {
            this.currencyType = currencyType;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }
    }
    public  static  class GoodsSumBean implements Serializable
    {
        private int goodsNum;
        private double goodsWeight;

        public int getGoodsNum() {
            return goodsNum;
        }

        public void setGoodsNum(int goodsNum) {
            this.goodsNum = goodsNum;
        }

        public double getGoodsWeight() {
            return goodsWeight;
        }

        public void setGoodsWeight(double goodsWeight) {
            this.goodsWeight = goodsWeight;
        }
    }
}
